﻿using SD.Infrastructure.DTOBase;
using System.Runtime.Serialization;

namespace SD.ContentSystem.IAppService.DTOs.Outputs
{
    /// <summary>
    /// 相片数据传输对象
    /// </summary>
    [DataContract(Namespace = "http://SD.CMS.IAppService.DTOs.Outputs")]
    public class PhotoInfo : BaseDTO
    {
        #region 相册编号 —— string PhotoAlbumNo
        /// <summary>
        /// 相册编号
        /// </summary>
        [DataMember]
        public string PhotoAlbumNo { get; set; }
        #endregion

        #region 图片地址 —— string ImagePath
        /// <summary>
        /// 图片地址
        /// </summary>
        [DataMember]
        public string ImagePath { get; set; }
        #endregion

        #region 缩略图地址 —— string ThumbPath
        /// <summary>
        /// 缩略图地址
        /// </summary>
        [DataMember]
        public string ThumbPath { get; set; }
        #endregion

        #region 链接地址 —— string Url
        /// <summary>
        /// 链接地址
        /// </summary>
        [DataMember]
        public string Url { get; set; }
        #endregion

        #region 相片排序 —— int Sort
        /// <summary>
        /// 相片排序
        /// </summary>
        [DataMember]
        public int Sort { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        #endregion
    }
}
